var ProductA = require('./productA.js');
var ProductB = require('./productB.js');

module.exports.createProduct = function (type) {
    switch (type) {
        case 'A':
            return new ProductA();
            break;
        case 'B':
            return new ProductB();
            break;
    }
}
